MediaReceiverState

The current media receiver's state.

Entries

Link copied to clipboard

The receiver is available to be cast to.

Link copied to clipboard

The receiver is starting a new cast session. A receiver temporarily enters this state when transitioning from AVAILABLE to CONNECTED.

Link copied to clipboard

Content is currently cast to the receiver.

Link copied to clipboard

The receiver is still connected but is in the process of disconnecting. A receiver temporarily enters this state when transitioning from CONNECTED to AVAILABLE.

Link copied to clipboard

The receiver is not available right now (disconnected/cached).

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.